package com.wqiuqiu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wqiuqiu.common.PageUtils;
import com.wqiuqiu.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.wqiuqiu.gulimall.product.vo.AttrAttrGroupVo;
import com.wqiuqiu.gulimall.product.vo.GroupAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author wqiuqiu
 * @email 18773489795@163.com
 * @date 2023-11-27 14:08:58
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void removeRel(AttrAttrGroupVo[] vos);

    void saveBatch(List<AttrAttrGroupVo> vos);

    List<GroupAttrsVo> findGroupByAttrIds(List<Long> attrIds);
}

